NoteThis content is from an earlier version of our software. It remains available for reference but may not reflect the most recent updates or features.
For the latest documentation, please go to Tweakwise JS + Plugin Studio.
Troubleshooting
Do not overwrite thewindow["twn-starter-config"] variable: when you use the configuration object directly (e.g. window["twn-starter-config"] = { instanceKey: 'abc' }, it will overwrite any existing values in the dataLayer. Tweakwise JS installations should instantiate the configuration as high up in the source code as possible, above the snippet, using window["twn-starter-config"] = window["twn-starter-config"] || {};. After the configuration object has been declared, use the existing object to add additional values to it.
