开发者 | cchui |
---|---|
更新时间 | 2015年5月25日 11:20 |
捐献地址: | 去捐款 |
PHP版本: | 3.7 及以上 |
WordPress版本: | 4.2.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
leadsourcetracker.free.php
to the /wp-content/plugins/leadsourcetracker
directory (Make the directory first)You can tag any campaign by appending ?ldsrc=[Campaign Name] to any page on your website. E.g. let's say you have a twitter link into your product page that goes to: www.mywebsite.com/special_twitter_promo/ To tag the visitor as having come from the special twitter promotion campaign, just enter this as the URL on your tweet: www.mywebsite.com/special_twitter- promo/?ldsrc=twitter_promo As soon as the visitor comes to the landing page through your Tweet, the leadsource "twitter_promo" will be stored in their browser. Any subsequent campaigns that the visitor comes through will be stored as well. When the visitor goes to your order / registration page that you specified in Settings->Leadsource Tracker, "twitter_promo", and any subsequent campaigns will be retrieved as GET parameters on that page, which can be easily placed as hidden fields in your registration forms for storage and reporting.
NO. The lead source information is STORED in the visitor's browser. It doesn't matter that they don't register or order right away when they click through to your landing page. If the user goes away and comes back to your home page on their own weeks or months later, then registers on the page you specify in the leadsource tracker settings, the campaigns will be retrieved.
Put the name of the lead source (WHERE they came from), NOT the activity on the website. We have seen MANY people put things like "free_trial", and "whitepaper_download", and "website_download". These descriptions tell you what they did on the website, not WHERE they came from. Proper examples of tagging the "ldsrc" parameter are: "Google_Adwords", "Adroll_Retargeting", "Emailblast_2015-04-01", "PressRelease_2015-01-31", "Gartner_Profile_Page" etc. - these are all external sources from the website.
YES. The best practice to achieve offline campaign tracking is to offer a special promotion or coupon on a specific page. For example if you have a print ad on "Popular Computers Magazine" then create the ad with a link for the special giveaway or promo: http://www.yourwebsite.com/landingpage/?ldsrc=PCMag_Promo?20150401
Google UTM is great for use with analytics, discovering how people are navigating through your site, where they are entering, where they are leaving, and general website stats. However it can be quite involved when trying to retrieve the many values and parameters from the visitor's browser. Additionally it is difficult to get multiple lead sources from Google UTM and if not done correctly, can seriously compromise the data in Analytics. Our best practice is to keep traffic behavior (analytics) and lead source attribution separate.
The lead source information is stored in your visitor's browser every time they come through a campaign. To retrieve the lead sources, simply go to Settings->LeadSource Tracker and select the page (usually your order form or registration page) and click save. This page will retrieve the lead sources and populate the URL with GET parameters. In your contact form, populate hidden fields with the GET parameters that show up in the URL. First, check to see if your contact form plugin already supports pulling in GET parameter tags from the URL (like Gravity Forms). If it does, then simply map the ldsrc_0 (first first touch) and/or ldsrc_n (for last touch) GET variables into hidden fields. Remember to map these to your CRM as well. If you are using a custom PHP form, then include the following the page your specified in Settings->LeadSource Tracker: <input type="hidden" name="first_source" value="<?php echo $_GET['ldsrc_0'];?>"> <input type="hidden" name="last_source" value="<?php echo $_GET['ldsrc_n'];?>"> where ldsrc_0 is the first campaign the visitor ever saw, and ldsrc_n is the last campaign the visitor ever saw. In the Pro and Enterprise editions, you can retrieve the first (ldsrc_0), last (ldsrc_n) and everything in between (ldsrc_1 .. ldsrc_999) for multiple pages on your website. You can find more information at http://www.leadsourcetracker.com