Analytics email link tracking

This topic contains 7 replies, has 4 voices, and was last updated by  oldmankit 9 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #114058

    medisource
    Buyer
    Post count: 16

    Hi,
    I was hoping someone here can help.
    I’m trying to set up GA so that I can monitor how many people click the ‘send enquiry’ form (and monitor who they send it to) – so I can charge my listing business per click.

    So far I’ve set up event tracking to track outbound links via Google tag manager/ Google Analytics (GA).
    This tracks any outbound link that isn’t to my site -So I can track the outbound link to another site. This is good.
    E.g. mysite.com/listing1 —> click to their site —> listing1.com
    In GA Events, i see: ACTION: “Click” // LABEL: {{Site Url}} (e.g. “listing1.com”)

    (This allows me to see in GA that listing1.com had X amount of clicks.)

    It’s also picking up ‘send to friend’ and ‘send enquiry’ as GA events (because they’re non-inbound links) – But because these actions don’t go to an external site (href=javascript) there’s nothing in my GA (label field) to show where the link goes – so i can’t monitor if Listing1 was contacted through my ‘send enquiry’ feature.

    E.g. mysite.com/listing1 –> send equiry —> mysite.com (enquiry form popup with Javascript)
    So in GA events I see: ACTION: “Click” // LABEL: Blank or “Javascript:void(0)”

    I realise that because my label field in GA is tracking the URL after the click, this is why the “Javascript:void(0)” is showing in GA. What i need help with is:

    What parameter/label/measurement should I use so i can capture the event when someone clicks on ‘send enquiry’ or ‘send to friend’ (preferably i need a label that allows me to see what business was contacted)

    Could i somehow use the class? And then how would i monitor the number of enquiries to each individual listings? (the label would somehow need to be unique to the listing – so i can see it in GA).

    I hope this makes sense and hopefully you someone can help!

    Thanks!!!

    #114217

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    I’m not sure this is feasible. I’ve asked to the developers to follow up with you.

    Thanks for your patience,

    #114218

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    (We plan to have a system to monitor things better with more stats in the near future)

    Are you trying/want to monitor this with JavaScript or do you want a hook name that you can hook into and do something with serverside?

    Do you know you can BCC yourself into these emails?

    Stiofan

    #114413

    medisource
    Buyer
    Post count: 16

    Hi Stiofan & Paolo,
    Thanks for your responses.
    I’ll see what the developers say and in the meantime use the BCC option to keep track that way. Thanks.

    I’m not entirely sure what it is I am looking for (specifically)…Sorry!

    Ideally I’m looking for a unique identifier (like the ID tag) that I can use to trigger the Google Analytics code to fire, so I can track when someone clicks the ‘send enquiry’ button.

    (From what I can see the ‘send enquiry’ and ‘send to friend’ forms don’t have ID’s, but Classes)

    If I used the class to trigger an event in Google Analytics,then I’d see everytime the form was clicked, but I don’t think I’ll be able to track the exact business that was contacted, so what I’d need then is an identifier (id tag, url or the send form, button submit id etc.) that occurs when the button is clicked, that would then allow Google Analytics to know what business has been contacted.

    (Sorry if I’m repeating myself – don’t know exactly how to explain it).

    For an outbound link (visit external website) I can use the url, because it’s unique to each business – so I can see in GA what business was linked to (by looking at the URL).

    That’s as far as my knowledge goes – so I’m not sure whether I’d need a hook or can call a javascript function).

    #138161

    oldmankit
    Buyer
    Post count: 116

    I was setting up Google Tag Manager yesterday and had exactly the same issue.

    #139289

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have not used the tag manager, if you can explain the process i can see if we can help?

    Thanks,

    Stiofan

    #139935

    oldmankit
    Buyer
    Post count: 116

    It’s quite a big topic to describe! As far as my very limited knowledge goes, we just need a CSS selector that we will reliably target the specific element we’re trying to track.

    And I just found a couple of likely candidates:

    .b_send_inquiry

    and

    #agt_mail_agent

    . The first one is for the initial ‘Send Enquiry’ button, and the second is the ID of the actual form that pops up after pressing that button.

    I tested using the first one, and it’s working fine.

    #139946

    oldmankit
    Buyer
    Post count: 116

    Using the second selector, in Google Tag Manager:

    Create Trigger > Choose Event: ‘Form Submission’ > Configure trigger: uncheck ‘check validation’ > Fire on > Click ID equals agt_mail_agent

Viewing 8 posts - 1 through 8 (of 8 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount