Try our conversational search powered by Generative AI!

Webtracking code only adds first connector script found

Fixed in

EPiServer.MarketingAutomationIntegration.Silverpop 4.0.2

EPiServer.MarketingAutomationIntegration.Marketo 4.0.1

(Or a related package)

Created

Jul 31, 2018

Updated

Sep 04, 2018

State

Closed, Fixed and tested


Description

Since there can be multiple connectors of each type, we need to add the script for each connector of the same type to pages. Currently, the code only adds the first one it finds of each type.

Steps to reproduce
1) Create an Alloy sample site.
2) Install the Silverpop connector and configure it.
3) Select a custom script and enter the text "Connector 1". This text will show up on every page.
4) Programmatically create a new instance of the Silverpop connector. Set the script text to be "Connector 2".
5) View a page.

Expected:
Both custom scripts exist on the page.

Actual:
Only a single copy of the text shows up.