pmvc-app/lucency

Lucency for Big Data

0.1.0 2021-11-14 21:46 UTC

This package is auto-updated.

Last update: 2024-11-15 04:34:02 UTC


README

Latest Stable Version Latest Unstable Version CircleCI License Total Downloads

PMVC lucency growth hacking app

disableIframe

  • What is it?
    • When lucency's top frame not in same domain, we need prevent lucency to extra top frame data because corssdomain issue.
  • default: false
  • pass with GET ?if=1 -> disableIframe equal true

How to log startup time

  1. Log start up time in very begin.
<head>
<script>var startUpTime=new Date().getTime()</script>
<!-- ... your code -->
</head>
  1. Beacon will auto fire with view beacon https://github.com/react-atomic/react-atomic-organism/blob/7130aa7402c09ae25da281b39b41b102dddaaff4/packages/organism-react-i13n/ui/organisms/I13nElement.jsx#L134-L136

How to split tag template variable

Each tag have own namespace under data->lucency->tagname

$view->get('data')['lucency'][*tagname*]

disalbe canonical for facebook pixel debug

?--no-canonical=1

Install with Composer

1. Download composer

2. Install Use composer.json or use command-line directly

2.1 Install Use composer.json

  • vim composer.json
{
    "require": {
        "pmvc-app/lucency": "dev-master"
    }
}
  • php composer.phar install

2.2 Or use composer command-line

  • php composer.phar require pmvc-app/lucency

Lucency family

Lucency Template for call remote app (GA, FB Pixel, Heap)

Lucency interaction package (fire beacon from client side)

Lucency plugin (for assign pvid)