Friday, October 23rd, 2009

Tag Page Views, Email Opens, & Clicks With Free Infusionsoft Script

Marketing Advertising Blog — VuManhThang.Com

homing_beaconNow you can figure out what people do after they click your links.

You can apply actions, tags, or followup sequences based on what links they click, which pages they see, or even which emails they look at.

I know analytics aren’t always perfect and analytics are not as useful when they aren’t tied directly into your marketing on a per customer basis. That’s I created this script. (plus it works perfectly with my latest product, you’ll see it later today)

If you want tags on your Infusionsoft customer records for every link they click on, every email they open, and every page they’ve seen then you’ve come to the right place!

Watch Larger Size Video, Click here

Click Below For Hi-Res Version

camtasia

Good Things to Know

  • The email tracking is only good for batch emails since even opening the email template in your system for a particular contact will apply the tag to that person. This is because when you select your template, it loads the template on the spot for that contact opening the pixel before you click send.
  • This doesn’t work in all programs. Some things like Joomla or WP don’t allow certain scripts to be called up so be sure to test the concept in your environment first. If it works for you, then you can start setting up a bunch of tags.
  • If you want someone to arrive on the page with a contactId, you can redirect them from a web form, an order form, the shopping cart, or simply merge their contactId onto the back of a link from an Infusionsoft email template like so… link.html?contactId=~Contact.Id~
  • This is a php script so of course, it will only work on servers that allow php to run.

Download the .zip file below that contains the file set used in the video + get the html from the Infusionsoft email template I show in the video.

Whole Set of Files

download

Copy the code below, place it in the html section of any email template you wish to track open rates for. Be sure to change the conn.cfg to point to your Infusionsoft account & Change the link in the pixel code you download here to point to the infusionsoft_actions.php file on your server.

Email Template HTML Pixel Code

download

Enjoy & don’t forget to comment below if you can think of other uses for this script or other ideas for Infusionsoft users!

  • Share/Bookmark
Category: Uncategorized
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

11 Responses

October 27, 2009
David

Again Awesome stuff. My brain hursts thinking about to to configure all this.

Is it possible to run a Joomla site, that asks people to log-in. Then use the joomla integration thingy to create the person in InfusionSoft. Then have the pages in Joomla personalised with name they logged in under and track where they go on the site.

I am not sure I have figured out the use of that, but it sound cool.

David


October 27, 2009

Great work Micah, your videos are of great value…. Thank you… Kevin


October 27, 2009

hey micah,

sounds great – brings a n ew level of data for the crm userbility!


October 28, 2009
Dom Cassone

Thanks Micah!

How can you use this when you are using a CMS rather than sites created in Dreamweaver? The CMS (Joomla) creates the pages and uses PHP. Can we simply add the PHP code to the pages and will it get executed since Joomla is PHP based?


November 3, 2009

This is great Micah – Can’t wait to meet you one day, was talking about you to a mutual client last night. You are a star!


November 3, 2009
admin

Hi David,

I am pretty sure you can do that with Joomla.

Here is a posting I found, 1/2 way down there is a plug in for that.
http://forum.joomla.org/viewtopic.php?f=431&t=362825&start=0

Thanks,
Micah


November 3, 2009
admin

Good question Dom,

If you turn your editor off, I’d imagine you could put this into an article and have it merge & run properly. I know the editor kills a lot of php though so with it, I’d think not.

Thanks,
Micah


November 9, 2009
Jabeen

Very helpfull Micah. The code you provided solved my problem.. thanks alot


November 18, 2009

Hey Micah,

Thanks for this awesome script :-) . I am still trying to think up some pretty nifty ways to use it.

I had a question. I know that it is possible to add a new tag when someone clicks a link but it is possible to remove a tag if someone opens an email or clicks a link on the php page?

Also, is there any way in this script to have your php page in question only be viewed by someone that has a certain tag? So for example the page can only be viewed by customers that get sent the email but not so if they forward it to a prospect within the system that doesn’t have the customer tag?


Micah – fantastic!

This is the kind of thing that Infusionsoft should have built into the system in the first place. now with this ability I’ll be able to ‘almost’ automatically re-broadcast to everyone that didn’t open or click on the links in my promotional emails without having to jump through a bunch of hoops.

I added the ability to track page views to one of my sales pages (a stand alone PHP page) and it worked terrifically. Able to add tags like a charm.

However, I have a bunch of pages that I’d like to be able to track that are part of my WordPress blog. (http://job-search-success-secrets.com/blog/) One of the pages is this one: http://job-search-success-secrets.com/blog/career-coaching-club-trial-offer

I created a custom field and set the value of it to the code needed to set the tag for the contact. I used a really neat plugin for WP called Custom Field Shortcodes [available here: http://gonahkar.com/wordpress-plugins/custom-fields-shortcode/ to add the tracking code into the page without it being stripped down by WP.

I’ve viewed the source code of the page that it generates, and the tracking code is EXACTLY the same as the PHP page that worked in my testing. But the tag isn’t being added to the contact record in IS.

Do you have any idea what might be wrong or how I might be able to fix it. I’d like to be able to fire off FUS upon page visits by contacts.

Thanks in advance for any help that you can provide, as well as MUCHO thanks for the scripts – they are the BOMB!

- Carl


November 25, 2009
admin

Hey Carl,

Thanks for your comments, I’m glad you liked it.

As far as WP, the problem is that our script calls up the API and WP doesn’t like that include. We are working on something within our http://www.infusionwp.com plugin that will allow you to track page views within WP so don’t worry, it’s not far off. Currently though, you’re out of luck.

Thanks,
Micah