Issue
How can we successfully integrate Demandbase with Acquia Lift without abandoning the supported Drupal module?
Resolution
Acquia Lift will soon introduce a feature that will allow you to continue to use the Acquia Lift module in conjunction with custom data from sources such as Demandbase without completely moving to Google Tag Manager.
Here's how:
- To install, go to Drupal's site configuration > Acquia Lift settings page, and Set Advanced > Bootstrap Mode to Manual.
- Save settings.
- Open browser and access the JavaScript console, and go to a personalized page. Observe that no Lift content injection personalization, or data collection has occurred since you've set the manual bootstrap mode.
- Perform all your pre-personalization steps:
- Upddate
AcquiaLift
object with additional data - Change HTML markup
- Upddate
- Once you are done, and want to resume Lift personalization and data collection, call
AcquiaLiftPublicApi.personalize()
. This can be done by the user (e.g. open browser JavaScript console, and runAcquiaLiftPublicApi.personalize())
, or via automation (e.g. via page script or Google Tag Manager).
Cause
In the current release of the Acquia Lift module, the process to integrate custom data sources like Demandbase is complicated by the need to write custom JavaScript to query values using the data source's API.
The next release of the Acquia Lift module (versions after 8.x-3.7, or 7.x-3.4) will add this new feature that will make the integration process more straightforward and usable with the Acquia Lift module.