Start guide
›
FAQ
›
Questions when introducing the service
Can CODE Marketing cloud be implemented on sites created using Single Page Application (SPA)?
Yes
Because the normal page transition is not used on sites built with SPA, accurate offer display and access measurement is not conducted by introducing CODE Marketing cloud only.
Therefore, when introducing CODE Marketing cloud on a SPA site, it is necessary to place measurement tags as follows.
※ Please note that we cannot provide specific support as the modification details differ depending on your site configuration.
How to implement on a SPA site
Place measurement tags as usual. Click herefor further details.
Call CODE Marketing cloud restart method
If a page transition occurs on a SPA site, you must call a method that restarts the CODE Marketing cloud process.
Execute the following method when the page transition is complete.
Executing the above method resets targeting condition identification and the offer currently on display. Afterward, targeting conditions are identified again and the offer matching the conditions is displayed.
Page URL to be measured
If the page URL does not change or only the URL fragment section changes, this is identified as viewing the same page and collected in a report.
When this happens, use customize page URL to be measuredto customize and send the information of the page being viewed and enable page transitions on the SPA site to be measured in the report.
_cc("reset",{
browserAttribute: {
'url': "/casestudy/",
'title': “Introduction example”,
'referrer' : "https://facebook.com"
}
});
For detailed information on available properties, click here