What is the most popular means for tracking new and repeat customers in DTM? Thanks!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi Chad,
If you want a stand alone report for new and repeat visitors you can pass the values new/repeat into a variable with the getNewRepeat plugin. This plugin can be added to the customize page code section of DTM.
For more information on this plugin the documentation is available here: https://marketing.adobe.com/resources/help/en_US/sc/implement/getNewRepeat.html
Thanks!
Views
Replies
Total Likes
Hi there,
Thanks for reaching out to Adobe Community.
There are a couple of ways which can help you understand this difference. Adobe Analytics does not have a report that explicitly compares new visitors to return visitors. However, you can obtain this information by minor calculations or segmentation. All first-time visits are technically also first--time visitors. Therefore, you can take the number of first-time visits and subtract this number from total unique visitors to find the number of return visitors.
See this doc here for more:
https://helpx.adobe.com/analytics/kb/comparing-new-visitors-to-return-visitors.html
Thanks!
Views
Replies
Total Likes
Hi Chad,
If you want a stand alone report for new and repeat visitors you can pass the values new/repeat into a variable with the getNewRepeat plugin. This plugin can be added to the customize page code section of DTM.
For more information on this plugin the documentation is available here: https://marketing.adobe.com/resources/help/en_US/sc/implement/getNewRepeat.html
Thanks!
Views
Replies
Total Likes
Hi Tacia,
Can the getNewRepeat plugin script be used in data element as custom code or it must be within custom code for Analytics as an even/page/direct rule?
I'm currently using it as a page rule as custom Analytics code and setting the variable directly but would be good to have it as a data element also.
Cheers,
Ed
Views
Replies
Total Likes
Hi Edward,
As the Data Element are initialized and collects the value before the Load on Adobe Analytics Tool as well as Page Load/Event rule. Hence If you use getNewRepeat plugin script like below in custom script of a Data Element , It will throw an error "S is not defined" .
s.usePlugins=true;
function s_doPlugins(s) {
var visitor_type=s.getNewRepeat(30,'s_getNewRepeat')
}
s.doPlugins=s_doPlugins
return visitor_type;
Hence In the present cndition if you still want to create the data element , you can create the Data Element on the fly in a Page Load rule or an Event based rule by using the script :
s.usePlugins=true;
function s_doPlugins(s) {
_satellite.setVar('visitor type', s.getNewRepeat(30,'s_getNewRepeat')); }
s.doPlugins=s_doPlugins
Please note that the scope of data element will be Page View only.
Views
Replies
Total Likes
Maybe you know, how to simulate test for 'repeat' value? When I refresh page the eVar still keep 'new' value
Views
Replies
Total Likes
Views
Likes
Replies