Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Commit

Permalink
mh parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
dbosen authored Nov 30, 2021
1 parent ffa29f7 commit d0b92ab
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions ivw_integration.module
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function ivw_integration_theme() {
'dg' => NULL,
'pt' => NULL,
'bfe' => NULL,
'legacy_mode' => NULL,
'mobile_st' => NULL,
'mobile_cp' => NULL,
'mobile_sv' => NULL,
Expand Down
10 changes: 8 additions & 2 deletions templates/ivw-call.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,18 @@
}
if ((typeof window.IOMm !== 'undefined') && (typeof window.IOMm === 'function')) {
IOMm('configure', {
var IOMmConfigureParameter = {
"st": responsive_data.st,
"dn": responsive_data.dn,
"dc": responsive_data.dc,
"dg": responsive_data.dg,
});
}
if ("{{ legacy_mode }}" !== "1") {
IOMmConfigureParameter.mh = 5
}
IOMm('configure', IOMmConfigureParameter);
IOMm('pageview', { cp: responsive_data.cp, pt: responsive_data.pt });
Expand Down

0 comments on commit d0b92ab

Please sign in to comment.