You can set up Script Manager and migrate away from using a browse capture script and
the legacy embed code.
About this task
If you use Browse Recovery or Recommendations Premium with two scripts, you can now migrate
to just using Script Manager to manage these features.
Note: This process requires some coding knowledge. We recommend that you are familiar with
JavaScript before starting.
Procedure
-
Add the Script Manager code to your site manually or with Google Tag Manager.
-
Enable Browse Recovery or Recommendations
Premium.
-
Configure your Script Manager feature. See Configuring a Script Manager Feature.
-
Test that browse data is being captured correctly.
-
Browse for products on your e-commerce site.
-
Open your web browser. There are two ways that you can verify browse data is being
collected.
-
With either method of checking for browse data, you should see the
productId
value populated with an ID and time stamp if you have
viewed a product. If this data is populated, then you are ready to remove the
bba.js
code.
-
Locate your existing code that includes
bba.js
.
It should look similar to
<script type="text/javascript" src="https://cdn.bronto.com/bba/bba.js"></script>
-
Remove the code that links to bba.js.
-
Verify that browse data is still being captured correctly following the earlier step.