more
This commit is contained in:
@@ -23,23 +23,38 @@ const HomePage = () => {
|
||||
: process.env.REACT_APP_API_PROD;
|
||||
|
||||
useEffect(() => {
|
||||
window.gtag("event", "screen_view", {
|
||||
app_name: "novodraft",
|
||||
screen_name: "Home",
|
||||
});
|
||||
if (typeof window.gtag !== "undefined") {
|
||||
window.gtag("event", "screen_view", {
|
||||
app_name: "novodraft",
|
||||
screen_name: "Home",
|
||||
});
|
||||
}
|
||||
}, []);
|
||||
|
||||
function clickedTryItButton() {
|
||||
window.gtag("event", "try_it_click", {
|
||||
app_name: "novodraft",
|
||||
screen_name: "Home",
|
||||
});
|
||||
if (typeof window.gtag !== "undefined") {
|
||||
window.gtag("event", "try_it_click", {
|
||||
app_name: "novodraft",
|
||||
screen_name: "Home",
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function promoSignup() {
|
||||
window.gtag("event", "promo_sign_up", {
|
||||
send_to: "G-J6SQL5DF6V",
|
||||
});
|
||||
if (typeof window.gtag !== "undefined") {
|
||||
window.gtag("event", "promo_sign_up", {
|
||||
send_to: "G-J6SQL5DF6V",
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function clickedExploreLink() {
|
||||
if (typeof window.gtag !== "undefined") {
|
||||
window.gtag("event", "explore_click", {
|
||||
app_name: "novodraft",
|
||||
screen_name: "Home",
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
async function saveUserData(
|
||||
@@ -340,11 +355,14 @@ const HomePage = () => {
|
||||
pleadings and briefs. Use it to augment your drafting as much or
|
||||
as little as you prefer.
|
||||
</p>
|
||||
<div className="home-link-box">
|
||||
<a className="link">
|
||||
<div
|
||||
className="home-link-box"
|
||||
onClick={() => clickedExploreLink()}
|
||||
>
|
||||
<div className="explore-link">
|
||||
Explore Novodraft
|
||||
<img src={arrow} className="img-1" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user