Ultimately, I'm trying to track individual links in an ECM (2.1) email.
I recently found the "sc_trk" querystring variable in the Engagement Analytics Configuration Reference Guide, which should allow me to trigger a goal from the querystring. So I've updated my links to include "?sc_trk=xxxxxx", but I am not seeing the goals being triggered when users click on the email links.
I have deployed the goals, but I have not associated them with specific content items. In order to trigger the goal, it doesn't have to be associated with content, does it?
The answer to your question is definitely: yes, your goal does not need to be associated with content to be triggered.
As to why your goals is not being triggered I'd look into the RedirectUrlPage.aspx that ECM uses for its links. Send a campaign out to yourself and study the generated URLs, they go to a page called RedirectUrlPage (where ECM handles tracking some things) which you can find under the /sitecore directory. Possibly your querystring is not being passed on when this redirect happens.
Related
I'm trying to create a goal in my analytics page. The goal is "when a user clicks a certain link", the problem is the link is an external link with different domain than my website so i cant just write /pagename in the goal details.
I've researched and tried different things, but examples I've seen only shows how it works when its an internal page. I don't have access to the website back end code, just its Google Ads and Analytics account.
In the analytics menu, I set my goal description as "when user clicks x button" Goal type is "Destination".
And then under goal details, I tried regular expression like this:
.*externalsite*html$
I also tried
^http://externalsite\.com/
and
/^http:\/\/externalsite\.com
and some other regex that I forgot.
Google kept saying the goal would have 0 conversion results, which isn't true as I've received email about the thing this click event was about just about everyday.
Any suggestions?
The basic problem is, that Google Analytics by default is not tracking clicks on external links on your site, only visits to your own pages. Although it is not explicitly stated in your post, I assume, that you don't have tracking of external links implemented in any custom ways. If this is the case, you will need to get your Analytics tracking improved, either by accessing the site code via a developer, or by getting Google Tag Manager implemented also by a developer, which will make similar task very easy. Newertheless, I'd recommend implementing external link tracking with events, as using additional pageviews for this, as it would have major impact on your pageview based metrics, like bounce rate and average pages per session metrics
In case you have implemented external link tracking as pageviews, you need to make the following adjustments.
By default, all these page visits get tracked and displayed in the pagePath dimension by their path, and domain is tracked separately in hostname dimension. Goal setting will only consider pagepath, so you need to set up an Advanced view filter, to modify pagePath dimension, and include hostname in it. Your filter would look something like this:
This would allow you to use a Regular Expression in your destination type goal, and filter for the domain as well. However, protocoll will still not be included, so something like this could work, which simply checks for the third party domain:
example\.com\/
I have a customize request from my client in sitecore mobile module.
I want to be on full view site from my mobile on Career page, i am able to do it but any of the link inside career page with having mobile layout in presentation detail is taking that page again to mobile device.
Can we make any customization that maintain the device in cookies so that it keep user on full view site after coming to career page.
Is there any setting we can do in pipeline or session. I just want to be throughout in full view site after coming on career page and no going back to mobile layout. Kindly suggest.
Yes, you can do exactly that. You'd need to update the rule to detect the various devices (which I'm guessing you already have). You can then create a custom condition to check if cookies have been set for the full site(does not need to be a cookie of course, but that'd be the easiest way).
You can find the existing Conditions and Actions here in the path /sitecore/system/Settings/Rules.
To create custom conditions and actions, please read the following article on SitecoreInsight.com
After creating your custom condition, go into your device item again and update the Rule there to only switch to that device when that cookie has not been set.
[edit]
Come to think about it, it might be possible to have your 'go to full site' link appended with a querystring sc_device={GUID of device}. I'm not sure what would take precedence here, the 51degrees rules or Sitecore's cookies... Worth a try though :-)
I've created ECM NewsLetter with some links to site (another Items). In online version of NewsLetter links works fine, but when I've sent this NewsLetter to my email and tried to click on links from my mail Inbox it's displays 404 not found error. Base URL - The default address for all links configured properly. What am I missing? Maybe some configuration? I appreciate any help you can provide.
Several things to check here:
Most likely source is that the campaign item that gets created when the email is sent is not published.
If the campaign is published then check the goal that gets installed as part of the ECM module is published: /sitecore/system/Marketing Center/Goals/Click Email Link
The way to test the source of the problem is to search for the guids in the link querystring - the ec_camp part of the querystringis the guid of the campaign. Search for this in your content delivery web databse - if this exists then check the goal mentioned above. The ec_as value is the value used to identify the user in the analytics db. This wont exist in your sitecore tree.
finally if both of the above work then follow this set up guide and ensure all the relevant ECM pages are installed properly on your CD servers - including the connection string to the ECM service that handles all tracking and link processing: http://www.sitecore.net/learn/blogs/technical-blogs/sitecore-magnified/posts/2013/09/ecm-on-cd.aspx
If you view source are they absolute links? If not one thing we did was create a newsletter device and detect we were coming from ecm. Then we could specify an alternative layout/sublayouts/data sources based on device.
The sublayouts could check if they were coming from a newsletter device and ensure they return all links absolute.
Within the ECM you need to make sure that you are saving and publishing as you move throughout the process of setting up and deploying a message. Once the message is edited, save and publish the message. Before dispatching, you should smart publish the target audience which in turn will re-publish the message. Then, when you dispatch you should see all the images.
This seems to be an issue with the configuration of Email Campaign Manager. Follow these steps
Go to Email Campaign Manager.
Select Content tab.
Check the value of Base URL- default address for all links field.
If it is set to some website URL other than your website URL change it to your website URL.
I need to update few information regarding the visitor when a visitor is in Message Opened state of Sitecore ECM standard engagement plan.
Therefore I need to create a custom action or something where I can push in my custom code to do the visitor data manipulation.
I tried doing it via creating a script and attaching it to a trigger and finally attaching the trigger to the state. but no luck unfortunately.
Is this task even possible or am I missing something ?
Thanks in Advance
The Message Opened state is forbidden to change. It is a kind of a system ECM state. You can customize only states of the green area (Productive, Unproductive, etc.).
However there is a way to do what you want.
The moment of message open is handled with the help of small image added at the bottom of a mail. Image source is an ASPX page. When a recipient downloads mail images, the ASPX page is requested.
You can customize the ASPX page requested by the image (add your code there).
Edited
The issue (#347688) has been fixed in Sitecore CMS 6.5.0 rev. 120427 (6.5.0 Update-4) and DMS 2.0.1 rev. 120427
We have been asked to explain where the editor can customize the campaign tracking url, they have seen the feature when participating in Sitecore Training sessions, but can't find the features in the our platform that is currently fully updated.
It seems to me the feature has been removed otherwise it is hidden in {3AC13180-912F-4388-AF56-46A0F1172E70} that is missing in the DMS Installation, when looking at the insert options for the Campaign Item.
Does anyone have insight on the topic ? and if the feature is still present or has been removed for another model.
OMS / Custom Campaign tracking URL
When looking at the old documentation for Sitecore OMS the section related OMS Creating Campaign Events, it should be possible for the Editor to personalize the incomming url parameter that triggers the page visit to attach to a specific campaign.
Reference: "OMS Creating Campaign Events" page 13-14
http://sdn.sitecore.net/upload/sitecore6/64/online%20marketing%20suite%20cookbook-usletter.pdf
Engagement Analytics / No Custom Campaign tracking URL (?)
In the new DMS 2.0 / Engagement Analytics there are also Page events, and they should be attachable to Campaigns. But we can't seem to create anything under the Campaign definition even tho the first line in the documentation suggests it. Looking at the Insert options on the campaign there is a missing id: {3AC13180-912F-4388-AF56-46A0F1172E70} that suggest the installation is missing an Item for this feature to function.
Reference: "Engagement Analytics Page Events" page 6-7
http://sdn.sitecore.net/upload/sitecore6/65/engagement_analytics_configuration_reference_sc65-usletter.pdf
Campaigns
You can associate events with specific campaigns. To register a
campaign event, beneath the campaign definition item, insert a
campaign event definition item using the System/Analytics/Campaign
data template. You can activate the campaign using the value of the
sc_camp query string parameter or you can assign a campaign to a
content item, such as a landing page. For more information about
campaigns, see the section Campaign. To change the name of the sc_camp
query string parameter, see the section The
Analytics.CampaignQueryStringKey Setting.
I have been in contact with Sitecore Support and they responded that the option of customizing the url that triggers the campaign has been removed. The documentation is misleading on the subject and they have registered it as a bug.
So yoursite.net/?sc_camp={ID of the campaign item here} or using a landing page with the campaign as trigger is currently the only way to monitor incoming links from a campaign, unless custom code is build.
Thanks for the answers.
Edited:
The issue (#347688) has been fixed in Sitecore CMS 6.5.0 rev. 120427 (6.5.0 Update-4) and DMS 2.0.1 rev. 120427
Mentioned ID {3AC13180-912F-4388-AF56-46A0F1172E70} used to be a Campaign Event template. Campaign Events are no longer used, as they were replaced by Campaign in Sitecore DMS.
In order to track it, use the following URL format: yoursite.net/?sc_camp={ID of the campaign item here}
I just wanted to add in that although it might be what they know and what they want to use, the reason that it's so obscured is because that's really not how you should be doing things and its not a practice I'd recommend since it's not really guaranteed to be tracked. The structure of DMS and the underlying database is such that I'd stick to setting things up by associating things with a campaign. Tracking is done in large part via page events that are triggered... but just amending a url will trigger a visit and a new page, but not a page event to be created unless there is something associated with that item that will trigger an event.
Campaigns are typically associated with items, or events, or engagement plans or any number of different elements of DMS. In all cases, there's a tab on the item that has an option to check the campaign to associate it with. That's how you want to be doing this which ensures that a page event is properly created and associated with the campaign.