Regular Expressions (Maybe?)

Discussion in 'Google Analytics' started by wfoody, Oct 15, 2013.

  1. #1
    I am currently trying to pull in data from Bing and Yahoo ads into GA. I found and article by "Analytics SEO" and have successfully done it but its not perfect. Let me walk you through the steps and if someone knows where I went wrong please help.

    1. Tag URL's (?utm_source=bing&utm_medium=cpc&utm_term={QueryString}&utm_campaign=Bing+CPC+Campaign): Done
    2. Created a separate profile in analytics. : Done
    3. Create Filter (This is where i think i need help).
    a. Custom Filter >Advanced
    b. Field A -> Extract B: Campaign Source: bing (same as in query string)
    c. Field B -> Extract B: Referral: https?://([^/]+) (no idea about regular expressions just copied it)
    d. Output to -> Constructor: Campaign Source: $A1, $B1
    e. Field A Required: Yes, Field B Required: Yes, Override Output Field: Yes, Case-sensitive: No

    Those are the steps i took.

    Here lies the problem the traffic section should give me Source / Medium that looks like:
    yahoo / cpc
    bing / cpc
    google / cpc

    What I get is:
    , www.bing.com / cpc
    , search.yahoo.com / cpc
    google / cpc

    Someone please tell me where I went wrong.
     
    wfoody, Oct 15, 2013 IP
  2. ffb

    ffb Active Member

    Messages:
    79
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #2
    To get yahoo / cpc, or bing / cpc, all you need to do is manually tag your URLs as you've done in Step 1. No other filters or separate profiles required.
     
    ffb, Nov 22, 2013 IP