전체 글 (484) 썸네일형 리스트형 Angular(Compiler) - JIT VS AOT The HTML and Component (TypeScript) file in an Angular project need to be compiled to a JavaScript file to run on the browser, There are two major ways of doing this depending on when the compilation happens: Just In Time (JIT) and Ahead Of Time (AOT). Let's see the differences JIT (Just In Time) Compiler JIT compiler compiles each file when a browser runs (runtime compilation). The method needs.. [구글 태그] 식스샵 구글 태그 삽입 구글애즈, 애널리틱스 등 구글제품에서 사이트의 정보를 받아보기 위해서는 사이트와 해당 제품을 연결고리가 필요합니다. 구글태그는 이러한 역할을 수행하며 작동을 위해서는 사이트에 구글태그삽입이 필요한데요. 오늘은 식스샵에 구글태그를 삽입하는 방법을 보겠습니다. 설치하기 식스샵은 애드온을 통해 필요한 기능을 추가하여 코드를 통해 스크립트를 삽입하거나 확장프로그램으로 연결하는 기능을 제공합니다. 확장프로그램 사용하기 좌측에 애드온 메뉴를 선택하고 스크롤해서 내려가 연결이 필요한 프로그램을 선택합니다 (저는 태그관리자를 선택해 보겠습니다). 참고로 태그관리자와 애널리틱스를 모두 사용하는 것은 불가능합니다 (이 경우 태그관리자를 사용하여 둘 다 삽입가능) '+' 아이콘을 선택하고 열린 팝업에서 '추가하기' 선택 태.. Angular - Project Structure Let's see the structure of the Angular project Root Structure When you create an Angular project usint Angular CLI, you will see the files below (Note that Angular CLI provides us '.gitignore' file automatically) .editorconfig Configurations for code editors EditorConfig. .gitignore Files or folders that will be excluded when commiting to a Git repo README.md A file where you can write an instru.. Angular - CLI Angular CLI is a command line interface that provides a better way to create and manage Angular projects. CLI Installation npm install -g @angular/cli CLI Update npm uninstall -g @angular/cli npm install -g @angular/cli@latest Even if you update the global CLI, it won't affect the projects you created before with older versions. In that case, the version of a project will have priority so you mi.. Lazy Loading A lazy loading is a way of rendering a page when there is a request to that page without having to render all the pages at once when the site first loaded, allowing us to save resources, and resulting in increased response time. Implementation Creating a Project(Check the Angular routing option) Angular - CLI Angular CLI is a command line interface that provides a better way to creata and manage.. 레이지 로딩 레이지 로딩은 사이트가 로딩될 때 전체페이지를 한 번에 로딩하지 않고 필요한 페이지만 로딩하고 일부페이지는 해당 페이지에 요청이 있을 때 로딩하는 방식을 말합니다. 레이지 로딩은 필요한 파일만 다운로드하기 때문에 웹사이트의 속도 등 성능향상의 장점이 있습니다. 구현하기 프로젝트 생성 (생성 시 앵귤러라이터 사용 체크) 앵귤러 - 씨엘아이 앵귤러 씨엘아이는 (커맨드라인 인터페이스)는 앵귤러 어플리케이션을 만들고 관리하는데 권장되는 도구입니다. CLI 설치 npm install -g @angular/cli 버전 및 버전 이력 확인 (https://github.com/angular/angula jin-co.tistory.com 컴포넌트 추가 구현을 위해 필요한 컴포넌트를 아래와 같이 추가합니다. ng g c .. GTM (Triggering) - Page View In the container, go to 'workspace' -> 'tags' -> 'new' Click the 'tag configuration' box Select 'Google Ads conversion tracking' Enter the ‘Conversion ID’ and ‘Conversion label’ (To check conversion ID and label, click here, If you are missing a conversion linker, follow this instruction) Then click ‘Triggering’ box at the bottom (you can also set this in the previous page) Click '+' button Sele.. Google Tags - Conversion Linker Set Up Conversion linker is a tag that improves the accuracy of conversions. One conversion linker is shared throughout all the conversions. You can either create one directly or as part of setting a conversion up. Since setting it up as part of setting a conversion comes with all the configuration, we will go with the latter first. Setting Up as Part of A Conversion Go to your GTM container and click .. 이전 1 ··· 27 28 29 30 31 32 33 ··· 61 다음