I'd like to track my newsletter with google analytics, Is it possible to dynamicly add some url parameters to all the links/url included in the newsletter?
Something like this: mywebsite.com/?utm_source=newsletter&utm_medium=email&utm_campaign=20080318
It would be great if Simplenews could add some kind of URL Builder to the settings page (see http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer...),
for example:
http://www.mywebsite.com/?utm_source=newsletter&utm_medium=email&utm_campaign=20080318
- utm_source=newsletter always the same value
- utm_medium=email always the same value
- utm_campaign=20080318 could be the title of the newsletter
Comments
Comment #1
moshe weitzman commentedThis looks really useful. At least for node title links.
Comment #2
Mike Sances commentedSubscribing
Comment #3
hendler commentedsubscribing
Comment #4
marco88 commentedsubscribing too
Comment #5
sutharsan commentedI am willing to include something like this, but I like to see more specifications. So instead of 'Subscribing' please add your requirements in detail.
Comment #6
marco88 commentedPersonaly I would like to use Google Goals to count how many people joined the mailing list.
All I need is a URL for when someone has subscribed. Then I can stick it in Google. The URL just needs to have a consitent logical pattern to it.
Google uses Exact Match, Regular Expression or Head Match see:
https://www.google.com/support/googleanalytics/bin/answer.py?answer=7228...
Thanks,
Marc.
Comment #7
sutharsan commentedPlease use a descriptive title. The title you enter here is the Issue title, not the comment title.
Comment #8
philippejadin commentedI would do it like this :
- create a separate module that rewrites urls
- it could be a new filter, but this may or may not be the right solution, as filters acts only on parts of nodes (text areas) and you'd probably like to have node titles link rewritten
- create a UI that allows to check which content type must be rewritten, and what parameters are added to the links. A simple ui prefilled with this :
Parameter : Value
utm_source : newsletter
utm_medium : email
utm_campaign : 20080318 + select menu "use node title"
Comment #9
virtualdrupal commentedIn...
The perfect measuring stick for newsletter conversions, I'd love to have an analytics goal that measures every click from a newsletter and see's how many roll into the shopping cart... or is this already possible?
Comment #10
sutharsan commentedI've created a new module for this: Simplenews Analytics for this. If you can check-out from CVS HEAD feel free to test it.
Comment #11
Anonymous (not verified) commentedThank you so much!
I've installed it and the links were tagged, I'm jut waiting for analytics results. :-)
Comment #13
hiralv commentedH Team,
I have installed simple news analytics module. And set the required value and generate url from google. But I don't know where I need to paste that link.
Should I paste google generated link some where in my newsletter?? If so then where I need to add?
Please help
Thanks
Hiral
Comment #14
simon georges commented@hiralv, you should post your issue into the Simplenews Analytics issue queue.
Comment #15
mikhailian commentedFor 7.x, check my utm filter.