Skip to content

Access to localStorage for Mgid ads #38448

Open
@velichkin

Description

Summary

We need to access localStorage on website's domain for https://github.com/ampproject/amphtml/blob/main/ads/vendors/mgid.js

Design Document

No response

Motivation

Mgid ads use localStorage for proper calculating analytics data.

Alternative Solutions

We need to store some data between page reloads. For example, we want to calculate page visits of user on current website. We will appreciate, if you'll tell us how to solve this problem using existing AMP API (if it's possible).

Launch Tracker

No response

Notifications

/cc @ampproject/wg-approvers

Metadata

Assignees

No one assigned

    Labels

    INTENT TO IMPLEMENTProposes implementation of a significant new feature. https://bit.ly/amp-contribute-codeStaleInactive for one year or more

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions