Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-07-23 13:40:27

beechy
Member
Registered: 2006-03-02
Posts: 92

Add google link tagging to rss urls

Would I have to hack the core files to do this or is there another way.

I want to add google link tagging to all the urls in my RSS feed so I can see how many people visit my site from my RSS feed and complete goals when they are on my site.

In order to do this I need to add /?utm_source=RSS&utm_medium=RSS&utm_campaign=RSS to the end of each of the urls that appear in my rss feed. So the url would look like:

www.mysite.co.uk/article/title-of-my-article?utm_source=RSS&utm_medium=RSS&utm_campaign=RSS

(above is obviously an example url)

What textpattern files would i need to edit in order to add this, or can it be done without editing the core files?

Offline

#2 2009-07-23 16:04:31

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Add google link tagging to rss urls

Take a look at jnm_feed_custom_item and if that doesn’t do it you can build a completely custom feed using rah_external_output


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

Board footer

Powered by FluxBB